package org.example.easybuy.service;

import org.example.easybuy.entity.UserAddress;

import java.util.List;

public interface UserAddressService {
    boolean addUserAddress(UserAddress userAddress);
    List<UserAddress> selectAddressByLoginName(String loginName);
    boolean delAddress(int id);
    boolean changeDefault(int id,int userId);
    boolean updateUserAddress(UserAddress userAddress);
}
